﻿namespace IDal
{
    public interface IBaseDal<T>
    {
        Task<int> AddAsync(T t);
        Task<int> AddRangeAsync(List<T> list);


        Task<int> DeleteAsync(T t);
        Task<int> DeleteRangeAsync(List<T> list);


        Task<int> UpdateAsync(T t);
        Task<int> UpdateRangeAsync(List<T> list);

        IQueryable<T> GetValues();
    }
}
